<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
    <link type="text/css" rel="stylesheet" href="../style.css" />
    <h:head>
        <title>Administrative Page</title>
    </h:head>
    <h:body>
        <h1>
            Acme Plastic Gnomes Administrative Page
        </h1>
        <h:form styleClass="form">
            <p><br/><br/></p>
            <p>
                <h:commandLink id="logout" action="#{authBackingBean.logout()}">
                    <h:outputText value="logout"/>
                </h:commandLink>
                <br/>
                <h:commandLink value="add gnome" action="#{inventoryManager.newGnome()}"/>
                <br/>
                <h:link value="modify gnome" outcome="modifyGnome"/>
                <br/>
                <h:link value="user management" outcome="userMng"/>
                <br/>
                <h:link value="back home" outcome="home"/>
                <br/>
            </p>
            
        </h:form>
    </h:body>
</html>

